package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.AdSensitiveDTO;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

import javax.xml.ws.Response;

public interface IAdSensitiveService extends IService<AdSensitive> {
    /**
     * 根据敏感词分页查询敏感词列表
     * @param adSensitiveDTO
     * @return
     */
    public ResponseResult list(AdSensitiveDTO adSensitiveDTO);

    /**
     * 新增敏感词
     * @param adSensitive
     * @return
     */
    public ResponseResult insert(AdSensitive adSensitive);

    /**
     * 修改敏感词
     * @param adSensitive
     * @return
     */
    public ResponseResult update(AdSensitive adSensitive);

    /**
     * 删除敏感词
     * @param id
     * @return
     */
    public ResponseResult delete(Integer id);
}
